/**api出入口文件*/
const list = [
  'attachment/index.js',
  'doc/index.js',
  'project/index.js',
  'role/index.js',
  'storage/index.js',
]
define(list.map(url => ELMP.resource(url, 'api')), function () {
  'use strict'
  const apiList = Array.from(arguments)
  const api = apiList.reduce((pre, current) => {
    pre[current.namespace] = current
    return pre
  }, {})
  return api
})